package org.pih.javarosa.applogic;

import org.javarosa.user.api.LoginState;
import org.javarosa.user.model.User;
import org.pih.javarosa.util.AdultDosageUtil;

public class AdultDosageLoginState extends LoginState {

	public void start() {
		AdultDosageContext._().setUser(null);
		super.start();
	}

	public void exit() {
		AdultDosageUtil.exit();
	}

	public void loggedIn(User u) {
		AdultDosageContext._().setUser(u);
		new AdultDosageCountryListState().start();
//		new AdultDosageDrugListState().start();
//		new AdultDosageDrugSelectState().start();
//		new AdultDosagePatientSelectState().start();
//		new AdultDosageFormListState().start();
	}

}
